don't export pack and unpack
authorJoey Hess <joeyh@joeyh.name>
Mon, 10 Feb 2025 16:33:21 +0000 (12:33 -0400)
committerJoey Hess <joeyh@joeyh.name>
Mon, 10 Feb 2025 16:34:13 +0000 (12:34 -0400)
These are too widly used for other things to make sense to export OsPath
versions of them. And OsString also provides them and gets imported
qualified when needed.

Utility/OsPath.hs

index e751db5f0bdf93d24201b8caae31a4768c15297f..fb4e23dca563180897de0ee798fa4fbe007884f8 100644 (file)
@@ -28,7 +28,7 @@ import Data.ByteString.Short (ShortByteString)
 import qualified Data.ByteString.Short as S
 import qualified Data.ByteString.Lazy as L
 #ifdef WITH_OSPATH
-import System.OsPath as X hiding (OsPath, OsString, unsafeFromChar)
+import System.OsPath as X hiding (OsPath, OsString, pack, unpack, unsafeFromChar)
 import System.OsPath
 import "os-string" System.OsString.Internal.Types
 import qualified System.FilePath.ByteString as PB